package com.ruoyi.socket.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 自动问答对象 tb_answer
 * 
 * @author ruoyi
 * @date 2023-05-05
 */
public class TbAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问答编号 */
    private Long answerId;

    /** 问答问题 */
    @Excel(name = "问答问题")
    private String answerProblem;

    /** 问答答案 */
    @Excel(name = "问答答案")
    private String answerResult;

    /** 关键词 */
    @Excel(name = "关键词")
    private String antistop;

    public void setAnswerId(Long answerId) 
    {
        this.answerId = answerId;
    }

    public Long getAnswerId() 
    {
        return answerId;
    }
    public void setAnswerProblem(String answerProblem) 
    {
        this.answerProblem = answerProblem;
    }

    public String getAnswerProblem() 
    {
        return answerProblem;
    }
    public void setAnswerResult(String answerResult) 
    {
        this.answerResult = answerResult;
    }

    public String getAnswerResult() 
    {
        return answerResult;
    }
    public void setAntistop(String antistop) 
    {
        this.antistop = antistop;
    }

    public String getAntistop() 
    {
        return antistop;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("answerId", getAnswerId())
            .append("answerProblem", getAnswerProblem())
            .append("answerResult", getAnswerResult())
            .append("antistop", getAntistop())
            .toString();
    }
}
